const x = {} as Foo<int>;
const x = ({}) as a | b;
const x = {} as A + b;